package com.jymj.dao;


import com.jymj.entity.CjEntity;
import com.jymj.entity.model.CommonEnumEnty;
import com.jymj.entity.zjd.ZjdCountEntity;
import com.jymj.entity.zjd.ZjdSqEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by dl on 2019/10/16.
 */
@Mapper
public interface ZjdSqDao extends BaseDao<ZjdSqEntity> {
    ZjdSqEntity queryObjectByylId(Integer objectid);

    List<ZjdSqEntity> queryListById(Integer[] ids);

    List<CommonEnumEnty> queryAllFile(@Param("status") Integer status, @Param("zjdSqFileIds") List<Integer> zjdSqFileIds);

    void updateYl(@Param("ylId") Integer ylId, @Param("sptype") Integer sptype);

    Integer queryCount(@Param("sptype") Integer sptype, @Param("id") Integer id);

    CjEntity queryXzq(String geom);

    List<ZjdSqEntity> queryTypeCount(Map map);

    ZjdCountEntity queryAllCount(@Param("point") String point, @Param("code") String code);
}
